<link rel="stylesheet" href="{{ URL::asset('/ucenter/css/base.css') }}">
<link rel="stylesheet" href="{{ URL::asset('/ucenter/css/bootstrap.min.css') }}">


<!--[if lt IE 8]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
@include('layout.header')
<style>
    .header_lo img {
        height:auto;
    }
</style>
<div class="person-content">

        <!--顶部导航-->
        <div class="navTop">
            <div class="subnav">
                <div class="person">
                    <!-- 头像 -->
                    <div class="photo">
                        <a href="#">
                            <img src="@if($userinfo->photo) {{$userinfo->photo}} @else {{ URL::asset('/ucenter/images/head portrait.png') }} @endif" alt="" style="width: 100%;height: 100%;">
                        </a>
                    </div>

                    <!-- 个人信息描述 -->
                    <div class="personInfo">
                        <!-- <span><img src="{{ URL::asset('/images/vip.png') }}" alt=""></span>
                        <p class="name">小明{{ $userinfo->username}}</p>
                        <span class="masterimg"><img src="{{ URL::asset('/images/vip@greatmaster.png') }}" alt=""></span>
                        <p class="addr">所在地：
                            @if($moreinfo != '')
                                {{ $moreinfo->province}} {{ $moreinfo->city}} {{ $moreinfo->country}}</p>
                            @endif
                        </p> -->

                        <div class="personInfoTop">
                            @if($userinfo->isvip != '0')
                                <span class="vipimg">
                                    <img src="{{ URL::asset('/images/vip.png') }}" alt="">
                                </span>
                            @endif
                            <span class="name">{{ $userinfo->username}}</span>
                            <span class="masterimg">
                                @if($userinfo->authstatus == '2' && $userinfo->isanalyst == '1')
                                    <img src="{{ URL::asset('/images/vip@greatmaster.png') }}" alt="">
                                @else
                                    <img src="{{ URL::asset('/images/vip@tomorrow.png') }}" alt="">
                                @endif
                            </span>
<!--                                <span class="pointsImg"></span>
                                <sapn class="points">积分 : 100</sapn>-->
                        </div>

                        <div class="personInfoBottom">
                            <span class="addr">所在地：
                                @if($moreinfo != '')
                                    {{ $moreinfo->province}} {{ $moreinfo->city}} {{ $moreinfo->country}}
                                @endif
                            </span>
                        </div>
                    </div>
                </div>

                <!-- 积分 -->
                <div class="integral">
<!--                    <div class="integral-left">
                        <div class="integral-person-count">
                            <span></span>
                            <p class="personNum">{{ $follownum }}人</p>
                            <p class="personNumInfo">订阅人数</p>
                        </div>
                    </div>-->

                    <div class="integral-right">
                        <div class="integral-totle-money">
                            <p class="totleNum">
                                {{ $follownum }}人
                            </p>
                            <p class="totleNumInfo"><img src="{{ URL::asset('index/images/man.png') }}"/>订阅人数</p>
                        </div>

                        <div class="line"></div>
                        <div class="integral-totle-profit">
                            <p class="totleNum">{{ $allprofit }}点</p>
                            <p class="totleNumInfo">策略赢利点位</p>
                        </div>
                    </div>
                </div>

                <!-- 编辑 -->
                <div class="edit">
                    <input type="button" value="编辑订阅" class="btn1" id="btn1">
                    <input type="button" value="订阅策略" class="btn2" id="btn2" analyst_id="{{$userinfo->id}}" analyst_username="{{$userinfo->username}}" status="{{$followstatus}}" direction="{{$followdirection}}">
                </div>
            </div>
        </div>
    </div>

